<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var obj = {
        name:"晓飞张",
        wife:"张天禹"
    }
    obj.wife2="阮一峰";
    var res = Object.getOwnPropertyDescriptor(obj,"wife2");
    console.log(res)
</script>
</html>